package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 用户权限菜单
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-29
 */
@Data
@ApiModel(value="PermissionUserMenuDTO对象", description="用户权限菜单")
public class PermissionUserMenuDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所有有效状态的菜单")
    private List<PermissionMenuDTO> menus;

    @ApiModelProperty(value = "用户拥有权限的菜单ids")
    private List<Object> ownMenuIds;

}
